package com.bjx.flow.mmx.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @desc: 流程定义数据实体
 * @author: liushuai
 * @date: 2023/05/17
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("mmx_flow_definition")
@Schema(title = "MmxFlowDefinition",description = "流程定义")
public class MmxFlowDefinitionEntity {
      /**
      * 流程定义Id
      */
      @TableId(type = IdType.AUTO)
      @Schema(title = "definitionId",description = "流程定义Id")
      private  Long definitionId; 
      
      /**
      * 流程版本
      */
      @Schema(title = "version",description = "流程版本")
      private  Integer version;
      
      /**
      * 流程定义key
      */
      @Schema(title = "definitionKey",description = "流程定义key")
      private  String definitionKey; 
      
      /**
      * 流程定义数据
      */
      @Schema(title = "flowData",description = "流程定义数据")
      private  String flowData; 
      
      /**
      * 创建时间
      */
      @Schema(title = "createTime",description = "创建时间")
      private  Date createTime;

      /**
       *  创建时间
       */
      @Schema(title = "createUser",description = "创建用户")
      private String createUser;
      
}